package com.sardine.base.hbase;

import org.apache.hadoop.hbase.client.Connection;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/11/22
 * Time:9:40
 *
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public interface HDataSource {
    /**
     * 获取hbase的连接
     * @return
     */
    Connection getConnection();

    /**
     * 得到配置文件
     * @return
     */
    HConfiguration getConfig();
}
